package io.gitee.yxsnake.wechat.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author snake
 * @description
 * @since 2024/10/24 0:53
 */

@Data
public class Token<T extends Token> {
    @JsonProperty("access_token")
    private String accessToken;

    public T withToken(String token) {
        this.accessToken = token;
        return (T) this;
    }
}
